#include<iostream>

int main()
{
    using namespace std;
    int inches,pounds;
    float feet,meter,kilogram,BIMI;
    const int inches_per_feet = 12;
    const float meter_per_inches = 0.0254;
    const float pounds_per_kilogram = 2.2;

    cout << "Please enter your height:___\b\b\b";
    cin >> feet ;
    cout << " feet, ___\b\b\b";
    cin >> inches ;
    cout << " inches."  << endl;
    cout << "Please enter your weight:___\b\b\b";
    cin >> pounds;

    inches = feet * inches_per_feet + inches;
    meter = inches * meter_per_inches;
    kilogram = pounds / pounds_per_kilogram;

    BIMI = kilogram / (meter * meter);
    cout << "Your BIMI = " << BIMI << endl;

    return 0;
}